package com.dongdongshop.service;

import com.dongdongshop.pojo.address.TbAddress;
import com.dongdongshop.pojo.address.TbAreas;
import com.dongdongshop.pojo.order.TbOrder;

import java.util.List;

public interface AddressServiceI {
    List<TbAddress> listAddress(String username);

    void deleteAddress(Long id);

    void insertAddress(TbAddress address);

    void isDefault(String username, Long id);

    TbOrder getReceiver(Long addressId, TbOrder tbOrder);
}
